package org.springframework.security.oauth2.provider.token;

import java.util.Map;

import org.springframework.security.core.Authentication;

@Deprecated
public interface UserAuthenticationConverter {

    String AUTHORITIES = AccessTokenConverter.AUTHORITIES;

    String USERNAME = "user_name";

    Map<String, ?> convertUserAuthentication(Authentication userAuthentication);

    Authentication extractAuthentication(Map<String, ?> map);

}
